package tmall.framework.exception;

public class FrameworkExceptionDict {
    public static final ErrorEnum CUSTOM_EXCEPTION  = new ErrorEnum("10001","{0}");

    public static final ErrorEnum SQL_EXCEPTION  = new ErrorEnum ("10002","SQL执行异常:{0}");

    public static final ErrorEnum PK_IS_EXIST  = new ErrorEnum ("10003","类型[{0}]尚未指明主键");

    public static final ErrorEnum REDIS_KEY_EMPTY_EXCEPTION  = new ErrorEnum ("10004","set redis key 为空");

    public static final ErrorEnum NO_KEY_EXCEPTION  = new ErrorEnum ("10005","不存在自增key值");

    public static final ErrorEnum SEGMENT_NOT_INIT_EXCEPTION  = new ErrorEnum ("10006","SEGMENT缓存未初始化");

    public static final ErrorEnum ID_SERVICE_BEAN_NOT_FOUND  = new ErrorEnum ("10007","IdService Bean not found");

    public static final ErrorEnum PARAMS_NOT_EXIST  = new ErrorEnum ("10008","params is not exist");

    public static final ErrorEnum SERVER_EXCEPTION  = new ErrorEnum ("500","服务器内部错误");


}
